package com.syni.mdd.sjb.community.base.entity.bo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class CompanyPermanentCodeBo {
    private String errcode;
    private String permanentCode;
    private AuthCorpInfo auth_corp_info;
    private AuthUserInfo auth_user_info;
    private AuthInfo auth_info;

    @Data
    public static class AuthInfo{
        private List<Agent> agent = new ArrayList<>();
    }

    @Data
    public static class Agent{
        private Integer agentid;
    }

    @Data
    public static class AuthUserInfo{
        private String userid;
        private String name;
        private String avatar;
        private String open_userid;
    }

    @Data
    public static class DealerCorpInfo{
        private String corpid;
        private String corp_name;
    }

    @Data
    public static class AuthCorpInfo{
        private String corpid;
        private String corp_name;
        private String location;
        private Integer subject_type;
        private String corp_industry;
        private Integer corp_user_max;
        private String corp_full_name;
        /*"corpid": "xxxx",
                "corp_name": "name",
                "corp_type": "verified",
                "corp_square_logo_url": "yyyyy",
                "corp_user_max": 50,
                "corp_agent_max": 30,
                "corp_full_name":"full_name",
                "verified_end_time":1431775834,
                "subject_type": 1,
                "corp_wxqrcode": "zzzzz",
                "corp_scale": "1-50人",
                "corp_industry": "IT服务",
                "corp_sub_industry": "计算机软件/硬件/信息服务",
                "location":"广东省广州市"*/
    }

}
